package cn.chenxinjie.hrm.service;

import cn.chenxinjie.hrm.domain.LoginUser;
import cn.chenxinjie.hrm.dto.LoginDto;
import cn.chenxinjie.hrm.dto.refreshTokenDto;
import cn.chenxinjie.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenxinjie
 * @since 2022-03-09
 */
public interface ILoginUserService extends IService<LoginUser> {

    Long entering(LoginUser loginUser);

    AjaxResult login(LoginDto dto);

    AjaxResult refreshToken(refreshTokenDto dto);
}
